package com.xiyan.mocklocation.domain;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description:
 * @Auther: wangjiao
 * @Date: 2021-04-29 15:48
 */
@Data
@Builder
public class PositionCurrent {
    /**
     * 信号接收时间
     */
    private LocalDateTime acceptTime;

    /**
     * 0:移动，1：静止
     */
    private int stillStatus;

    /**
     * 信标ID
     */
    private Integer beaconId;
    private Double distance;
    /**
     * 卡ID
     */
    private Long cardId;

    private String cardType;

    private BigDecimal longitude;
    private BigDecimal latitude;
    private String layerId;
    private Integer layerHeight;

    private LocalDateTime createTime;
    private Long personId;//人员id
    private String personType;//人员类型（见字典）
    private String staffType;//员工类型（见字典）
    private String realName;//真实姓名
    private Long deptId;//部门id
    private Long postId;//岗位id
    private String personAttribute;

    private String personPhoto;//证件照

    private String deptName;//部门
    private String postName;//岗位

    private String jobNumber;//工号
    private Long contractorId;//所属承包商
    private String contractorName;//所属承包商
    private String positionType; //定位模式（0：蓝牙；1：北斗；2UWB）
}
